package com.etennis.pojos.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Events)表实体类
 * 赛事表
 * @author makejava
 * @since 2024-10-17 17:14:09
 */
@SuppressWarnings("serial")
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName("events")
public class Events  {
    @TableId(type = IdType.AUTO)
    //非空
    private Long id;

    //非空
    private Long seasonId;
    //0积分赛/1单次赛
    //非空
    private String eventType;
    //0都 1单 2双
    private String personType;

    //非空
    private Long clubId;

    //非空
    private String rule;

    private Long groupId;

    //非空
    private Date gameStartDate;

    //非空
    private Date gameEndDate;

    //非空
    private Date enrollStartDate;

    //非空
    private Date enrollEndDate;

    //0否 1是
    //非空
    private String isAllGroups;

    private String name;

}

